package com.online.dao;

import com.online.entity.Blank;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlankMapper {

    List<Blank> selectBlankByKnowledge(String knowledge);

    Blank selectBlankById(Integer blankId);

    int addBlank(Blank blank);

    List<Blank> selectBlankKno();

    List<Blank> selectRandom(@Param("blanksKnowledge") String blanksKnowledge,@Param("blanksNumber") int blanksNumber);

    List<Blank> selectBlank();

    int deleteBlank(Integer blankId);
}
